#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
    int arr[15];
    for (int i = 0; i < 10; i++) {
        scanf("%d", &arr[i]);
    }
    for (int i = 9; i >= 0; i--) {
        printf("%d ", arr[i]);
    }
    return 0;
}

#include <stdio.h>

int main()
{
	int n;
	scanf("%d", &n);
	int a[n], b[n];
	for (int i = 0; i < n; i++) {
		scanf("%d", &a[i]);
		b[i] = a[i];
	}
	return 0;
}